﻿using Abp.Runtime.Caching;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AVIS.OutBound.BookOrders.Cache
{
    public static class BookOrderCacheExtensions
    {
        public static ITypedCache<string, BookOrderCacheItem> GetBookOrderCache(this ICacheManager cacheManager)
        {
            return cacheManager.GetCache<string, BookOrderCacheItem>(BookOrderCacheItem.CacheName);
        }
    }
}
